__wxCodeSpace__.batchAddCompiledTemplate(function (G, R, D, Q, gdc, X, Y, Z) {
  return {
    "pages/index/index": (() => {
      var P = "pages/index/index";
      var H = {};
      var I = {};
      H[""] = I[""] = (R, C, D, U) => {
        var L = R.c;
        var M = R.m;
        var O = R.r;
        var A = {
          markers: new Array(1),
          showPrivacyDiag: new Array(1),
          isSatelliteStyle: new Array(1),
          polyline: new Array(1),
          latitude: new Array(1),
          longitude: new Array(1),
          todayRunDistance: new Array(1),
        };
        var K = U === true;
        return {
          C: (C, T, E) => {
            E(
              "view",
              {},
              (N, C) => {
                if (C) R.y(N, "position: fixed;  width: 100%; height: 100%;");
              },
              (C, T, E) => {
                E(
                  "view",
                  {},
                  (N, C) => {
                    if (C) L(N, "content");
                  },
                  (C, T, E) => {
                    E(
                      "view",
                      {},
                      (N, C) => {
                        if (C) L(N, "map-wrap");
                      },
                      (C, T, E) => {
                        E(
                          "map",
                          {},
                          (N, C) => {
                            if (C) R.i(N, "map");
                            if (C || K || U.isSatelliteStyle)
                              O(N, "enable-satellite", D.isSatelliteStyle);
                            A["isSatelliteStyle"][0] = (D, E, T) => {
                              O(N, "enable-satellite", D.isSatelliteStyle);
                              E(N);
                            };
                            if (C || K || U.longitude)
                              O(N, "longitude", D.longitude);
                            A["longitude"][0] = (D, E, T) => {
                              O(N, "longitude", D.longitude);
                              E(N);
                            };
                            if (C) O(N, "show-location", "false");
                            if (C || K || U.latitude)
                              O(N, "latitude", D.latitude);
                            A["latitude"][0] = (D, E, T) => {
                              O(N, "latitude", D.latitude);
                              E(N);
                            };
                            if (C) O(N, "scale", "16");
                            if (C || K || U.markers) O(N, "markers", D.markers);
                            A["markers"][0] = (D, E, T) => {
                              O(N, "markers", D.markers);
                              E(N);
                            };
                            if (C || K || U.polyline)
                              O(N, "polyline", D.polyline);
                            A["polyline"][0] = (D, E, T) => {
                              O(N, "polyline", D.polyline);
                              E(N);
                            };
                          },
                          (C) => {}
                        );
                      }
                    );
                  }
                );
                E(
                  "view",
                  {},
                  (N, C) => {
                    if (C) L(N, "view-header");
                  },
                  (C, T, E) => {
                    E(
                      "view",
                      {},
                      (N, C) => {
                        if (C) L(N, "view-today-run");
                      },
                      (C, T, E) => {
                        E(
                          "view",
                          {},
                          (N, C) => {
                            if (C)
                              R.y(N, "margin-bottom: 30rpx; font-size: 50rpx;");
                          },
                          (C, T, E) => {
                            E(
                              "text",
                              {},
                              (N, C) => {},
                              (C, T) => {
                                C ? T("今日里程") : T();
                              }
                            );
                          }
                        );
                        E(
                          "view",
                          {},
                          (N, C) => {
                            if (C) L(N, "view-today-distance");
                          },
                          (C, T, E) => {
                            E(
                              "text",
                              {},
                              (N, C) => {
                                if (C)
                                  R.y(N, "font-size: 80rpx;font-weight: bold;");
                              },
                              (C, T) => {
                                C || K || U.todayRunDistance
                                  ? T(Y(D.todayRunDistance), (N) => {
                                      A["todayRunDistance"][0] = (D, E, T) => {
                                        T(N, Y(D.todayRunDistance));
                                      };
                                    })
                                  : T();
                              }
                            );
                            E(
                              "text",
                              {},
                              (N, C) => {
                                if (C)
                                  R.y(
                                    N,
                                    "margin-left: 20rpx; font-size: 30rpx;"
                                  );
                              },
                              (C, T) => {
                                C ? T("公里") : T();
                              }
                            );
                          }
                        );
                      }
                    );
                    E(
                      "view",
                      {},
                      (N, C) => {
                        if (C) L(N, "view-header-right");
                        if (C) R.y(N, "font-size: 30rpx;");
                      },
                      (C, T, E) => {
                        E(
                          "view",
                          {},
                          (N, C) => {
                            if (C) L(N, "view-record");
                            if (C) R.r(N, "bindtap", "onRecord");
                          },
                          (C, T, E) => {
                            E(
                              "image",
                              {},
                              (N, C) => {
                                if (C) O(N, "src", "../../images/history.png");
                              },
                              (C) => {}
                            );
                            E(
                              "text",
                              {},
                              (N, C) => {},
                              (C, T) => {
                                C ? T("历史记录") : T();
                              }
                            );
                          }
                        );
                        E(
                          "view",
                          {},
                          (N, C) => {
                            if (C) L(N, "view-rank");
                            if (C) R.r(N, "bindtap", "onRank");
                          },
                          (C, T, E) => {
                            E(
                              "image",
                              {},
                              (N, C) => {
                                if (C) O(N, "src", "../../images/rank.png");
                              },
                              (C) => {}
                            );
                            E(
                              "text",
                              {},
                              (N, C) => {},
                              (C, T) => {
                                C ? T("我的排名") : T();
                              }
                            );
                          }
                        );
                      }
                    );
                  }
                );
                E(
                  "view",
                  {},
                  (N, C) => {
                    if (C) L(N, "view-run-control");
                  },
                  (C, T, E) => {
                    E(
                      "view",
                      {},
                      (N, C) => {
                        if (C) L(N, "view-circle-out");
                      },
                      (C) => {}
                    );
                    E(
                      "view",
                      {},
                      (N, C) => {
                        if (C) R.r(N, "bindtap", "startRun");
                        if (C) L(N, "view-start");
                      },
                      (C, T, E) => {
                        E(
                          "image",
                          {},
                          (N, C) => {
                            if (C) O(N, "src", "../../images/start-run.png");
                            if (C) O(N, "mode", "aspectFit");
                          },
                          (C) => {}
                        );
                        E(
                          "text",
                          {},
                          (N, C) => {},
                          (C, T) => {
                            C ? T("开始") : T();
                          }
                        );
                      }
                    );
                  }
                );
                E(
                  "view",
                  {},
                  (N, C) => {
                    if (C) L(N, "view-map-btn");
                  },
                  (C, T, E) => {
                    E(
                      "view",
                      {},
                      (N, C) => {
                        if (C) L(N, "view-mapStyle");
                        if (C) R.r(N, "bindtap", "onChangeMapStyle");
                      },
                      (C, T, E) => {
                        E(
                          "image",
                          {},
                          (N, C) => {
                            if (C) O(N, "src", "../../images/style.png");
                          },
                          (C) => {}
                        );
                      }
                    );
                    E(
                      "view",
                      {},
                      (N, C) => {
                        if (C) L(N, "view-mapPosition");
                        if (C) R.r(N, "bindtap", "onLocate");
                      },
                      (C, T, E) => {
                        E(
                          "image",
                          {},
                          (N, C) => {
                            if (C) O(N, "src", "../../images/locate.png");
                          },
                          (C) => {}
                        );
                      }
                    );
                    E(
                      "view",
                      {},
                      (N, C) => {
                        if (C) L(N, "view-mapShare");
                      },
                      (C, T, E) => {
                        E(
                          "button",
                          {},
                          (N, C) => {
                            if (C) O(N, "open-type", "share");
                          },
                          (C, T, E) => {
                            E(
                              "image",
                              {},
                              (N, C) => {
                                if (C) O(N, "src", "../../images/share.png");
                              },
                              (C) => {}
                            );
                          }
                        );
                      }
                    );
                    E(
                      "view",
                      {},
                      (N, C) => {
                        if (C) L(N, "view-feedback");
                      },
                      (C, T, E) => {
                        E(
                          "image",
                          {},
                          (N, C) => {
                            if (C) O(N, "src", "../../images/feedback.png");
                          },
                          (C) => {}
                        );
                        E(
                          "button",
                          {},
                          (N, C) => {
                            if (C) O(N, "open-type", "contact");
                            if (C) R.y(N, "width: 100%;");
                            if (C) L(N, "view-contact-btn");
                          },
                          (C) => {}
                        );
                      }
                    );
                  }
                );
                E(
                  "view",
                  {},
                  (N, C) => {
                    if (C) L(N, "view-map-btn-left");
                  },
                  (C, T, E) => {
                    E(
                      "view",
                      {},
                      (N, C) => {
                        if (C) L(N, "view-ad");
                      },
                      (C, T, E) => {
                        E(
                          "ad-custom",
                          {},
                          (N, C) => {
                            if (C) O(N, "unit-id", "adunit-91c6eb46c253f614");
                          },
                          (C) => {}
                        );
                      }
                    );
                  }
                );
              }
            );
            E(
              "privacy-popup",
              {},
              (N, C) => {
                if (C) R.i(N, "myPrivacyPop");
                if (C || K || U.showPrivacyDiag)
                  O(N, "innerShow", D.showPrivacyDiag);
                A["showPrivacyDiag"][0] = (D, E, T) => {
                  O(N, "innerShow", D.showPrivacyDiag);
                  E(N);
                };
                if (C) R.v(N, "agree", "agree", !1, !1, !1, !1);
                if (C) R.v(N, "disagree", "disagree", !1, !1, !1, !1);
              },
              (C) => {}
            );
          },
          B: A,
        };
      };
      return function (P) {
        return H[P];
      };
    })(),
  };
});
var noCss =
  typeof __vd_version_info__ !== "undefined" &&
  __vd_version_info__.noCss === true;
if (!noCss) {
  __wxAppCode__["pages/index/index.wxss"] = setCssToHead(
    [
      ".",
      [1],
      "content{background:#252630;height:100%;position:fixed;width:100%}\n.",
      [1],
      "view-header{background-color:#252630;border-radius:2%;color:#fff;-webkit-flex-direction:row;flex-direction:row;height:",
      [0, 350],
      ";left:",
      [0, 60],
      ";overflow:hidden;padding:",
      [0, 10],
      ";position:absolute;right:",
      [0, 60],
      ";top:",
      [0, 30],
      ";z-index:1000}\n.",
      [1],
      "view-header,.",
      [1],
      "view-today-run{-webkit-align-items:center;align-items:center;display:-webkit-flex;display:flex;-webkit-justify-content:center;justify-content:center}\n.",
      [1],
      "view-today-run{border-right:",
      [0, 1],
      " solid #fff;-webkit-flex:1;flex:1;-webkit-flex-direction:column;flex-direction:column;height:100%}\n.",
      [1],
      "view-today-distance{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}\n.",
      [1],
      "view-header-right{display:-webkit-flex;display:flex;-webkit-flex:1;flex:1;-webkit-flex-direction:column;flex-direction:column;height:100%;width:100%}\n.",
      [1],
      "view-header-right wx-image{height:",
      [0, 100],
      ";width:",
      [0, 100],
      "}\n.",
      [1],
      "view-rank,.",
      [1],
      "view-record{-webkit-align-items:center;align-items:center;display:-webkit-flex;display:flex;-webkit-flex:1;flex:1;-webkit-flex-direction:column;flex-direction:column;height:100%;-webkit-justify-content:center;justify-content:center;width:100%}\n.",
      [1],
      "view-rank{border-top:",
      [0, 1],
      " solid #fff}\n.",
      [1],
      "map-wrap{height:100%;overflow:hidden;position:relative;width:100%}\n.",
      [1],
      "map-wrap wx-map{height:100%;position:absolute;top:",
      [0, 0],
      ";width:100%;z-index:1}\n.",
      [1],
      "view-map-btn{right:5%;top:",
      [0, 450],
      "}\n.",
      [1],
      "view-map-btn,.",
      [1],
      "view-map-btn-left{-webkit-align-items:center;align-items:center;display:-webkit-flex;display:flex;-webkit-flex-direction:column;flex-direction:column;-webkit-justify-content:center;justify-content:center;position:absolute;z-index:1000}\n.",
      [1],
      "view-map-btn-left{left:5%;top:",
      [0, 500],
      "}\n.",
      [1],
      "view-feedback,.",
      [1],
      "view-mapPosition,.",
      [1],
      "view-mapShare,.",
      [1],
      "view-mapStyle{background-color:hsla(0,0%,100%,.9);border-radius:50%;margin-top:",
      [0, 15],
      "}\n.",
      [1],
      "view-ad,.",
      [1],
      "view-feedback,.",
      [1],
      "view-mapPosition,.",
      [1],
      "view-mapShare,.",
      [1],
      "view-mapStyle{height:",
      [0, 100],
      ";width:",
      [0, 100],
      "}\n.",
      [1],
      "view-ad,.",
      [1],
      "view-feedback,.",
      [1],
      "view-map-btn wx-image,.",
      [1],
      "view-mapPosition,.",
      [1],
      "view-mapShare,.",
      [1],
      "view-mapStyle{-webkit-align-items:center;align-items:center;display:-webkit-flex;display:flex;-webkit-justify-content:center;justify-content:center}\n.",
      [1],
      "view-map-btn wx-image{height:",
      [0, 50],
      ";width:",
      [0, 50],
      "}\n.",
      [1],
      "view-mapShare wx-button{-webkit-align-items:center;align-items:center;background-color:initial;display:-webkit-flex;display:flex;-webkit-flex-direction:column;flex-direction:column;-webkit-justify-content:center;justify-content:center}\n.",
      [1],
      "view-contact-btn{background:salmon;display:inline-block;height:",
      [0, 50],
      ";opacity:0;position:absolute;width:",
      [0, 50],
      "}\n.",
      [1],
      "view-run-speed{background-color:#fff;border-radius:5%;-webkit-flex-direction:row;flex-direction:row;left:",
      [0, 60],
      ";padding:",
      [0, 20],
      ";position:absolute;right:",
      [0, 60],
      ";top:",
      [0, 30],
      "}\n.",
      [1],
      "view-run-speed,.",
      [1],
      "view-run-speed-item{-webkit-align-items:center;align-items:center;display:-webkit-flex;display:flex;-webkit-justify-content:center;justify-content:center}\n.",
      [1],
      "view-run-speed-item{-webkit-flex-direction:column;flex-direction:column;height:",
      [0, 230],
      ";position:relative;width:",
      [0, 230],
      "}\n.",
      [1],
      "view-run-speed-item wx-image{height:",
      [0, 100],
      ";margin-bottom:",
      [0, 10],
      ";width:",
      [0, 200],
      "}\n.",
      [1],
      "view-run-control{-webkit-align-items:center;align-items:center;bottom:",
      [0, 50],
      ";display:-webkit-flex;display:flex;-webkit-flex-direction:column;flex-direction:column;-webkit-justify-content:center;justify-content:center;left:50%;right:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%);z-index:1000}\n.",
      [1],
      "view-circle-out,.",
      [1],
      "view-run-control{height:",
      [0, 250],
      ";position:absolute;width:",
      [0, 250],
      "}\n.",
      [1],
      "view-circle-out{-webkit-animation:circle-animation 1s ease-out infinite;animation:circle-animation 1s ease-out infinite;border:5px solid #f24;border-radius:50%}\n@-webkit-keyframes circle-animation{0%{opacity:.5;-webkit-transform:scale(.667);transform:scale(.667)}\nto{opacity:0}\n}@keyframes circle-animation{0%{opacity:.5;-webkit-transform:scale(.667);transform:scale(.667)}\nto{opacity:0}\n}.",
      [1],
      "view-continue,.",
      [1],
      "view-pause,.",
      [1],
      "view-start,.",
      [1],
      "view-stop{-webkit-align-items:center;align-items:center;background-color:#f24;border-radius:50%;display:-webkit-flex;display:flex;-webkit-flex-direction:column;flex-direction:column;height:",
      [0, 200],
      ";-webkit-justify-content:center;justify-content:center;overflow:hidden;position:absolute;width:",
      [0, 200],
      ";z-index:1000}\n.",
      [1],
      "view-continue{background-color:#17eb56}\n.",
      [1],
      "view-run-control wx-image{height:",
      [0, 90],
      ";width:",
      [0, 90],
      "}\n.",
      [1],
      "view-run-control wx-text{color:#fff;font-size:",
      [0, 35],
      ";margin-top:",
      [0, 5],
      "}\n.",
      [1],
      "view-select-stop{-webkit-align-items:center;align-items:center;display:-webkit-flex;display:flex;-webkit-flex-direction:row;flex-direction:row;-webkit-justify-content:center;justify-content:center;width:100%}\n",
    ],
    "Some selectors are not allowed in component wxss, including tag name selectors, ID selectors, and attribute selectors.(./pages/index/index.wxss:1:4227)",
    { path: "./pages/index/index.wxss" }
  );
}
